<?php

if (isset($_SESSION['oClient'])) {
# Inclusion des  classes de gestion
    $oClient = unserialize($_SESSION['oClient']);
    $oClient->chargerLesCommandes($sql);
    $lesCommandes = $oClient->getLesCommandes();
    $_SESSION['lesCommandes'] = serialize($lesCommandes);
# Inclusion du Template
    include "templates/modules/GestCommande/consultCommande.tpl.php";
} else {
    header('Location: index.php?mod=general&page=accueil');
}
?>
